package com.bee.beemanage.api.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bee.beemanage.api.entity.SysRolePermission;
import com.bee.beemanage.system.common.utils.result.Result;

import java.util.List;

/**
 * <p>
 * 角色权限关联表 服务类
 * </p>
 *
 * @author 陈国松
 * @since 2023-02-23
 */
public interface SysRolePermissionService extends IService<SysRolePermission> {
    Result insert(SysRolePermission sysRolePermission);

    Result editBatch(String roleId,List<String> sysRolePermission);

    Result removeByAll(SysRolePermission sysRolePermission);

    Result removeBatch(List<SysRolePermission>sysRolePermission);

    List<SysRolePermission> selectListByRoleID(String roleId);
}
